package sim;
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

//package sim;
import java.io.*;
/**
 *
 * @author Tiep Vu Duc
 */
public class VrmlCreater {
    public static void main(String []args)
    {

        FileOutputStream fos;
        DataOutputStream dos;

       try{
             File file= new File("C:/vrml.wrl");
              fos = new FileOutputStream(file);
              dos=new DataOutputStream(fos);
              
            
              
             

            for(int i=0;i<=args.length;i++)
            {
                System.out.println(args[i]);
                dos.writeChars(args[i]+"\n");

            }
            dos.close();
       }

       catch(IOException e)
       {
           System.out.println("There was a problem:" + e);
       }
    }
}
